export default [
    {
        path: '/pay',
        redirect: '/pay/account',
        meta: {
            title: '支付中心',
            loginAuth: true
        }
    },
    {
        path: '/pay/account',
        component: () => import('@/views/pay/account/list/index.vue'),
        name: 'payAccountList',
        meta: {
            title: '账户管理',
            keepAlive: true,
            loginAuth: true
        }
    },
    {
        path: '/pay/account/create',
        component: () => import('@/views/pay/account/create/index.vue'),
        name: 'payAccountCreate',
        meta: {
            title: '新增账户',
            typeCode: 'new'
        }
    },
    {
        path: '/pay/account/edit',
        // 是否和新增用同一个文件自己定义
        component: () => import('@/views/pay/account/create/index.vue'),
        name: 'payAccountEdit',
        meta: {
            title: '修改账户资料',
            loginAuth: true
        }
    },
    {
        path: '/pay/account/view',
        // 是否和新增用同一个文件自己定义
        component: () => import('@/views/pay/account/create/index.vue'),
        name: 'payAccountView',
        meta: {
            title: '账户信息',
            loginAuth: true
        }
    },
    {
        path: '/pay/account/dataSubSuccess',
        component: () => import('@/views/pay/account/dataSubSuccess/index.vue'),
        name: 'payAccountDataSubView',
        meta: {
            title: '新建账号',
            loginAuth: true
        }
    },
    {
        path: '/pay/account/dataSubSuccessEdit',
        component: () => import('@/views/pay/account/dataSubSuccess/index.vue'),
        name: 'payAccountDataSubEdit',
        meta: {
            title: '修改账户资料',
            loginAuth: true
        }
    },
    {
        path: '/pay/account/authentication',
        component: () => import('@/views/pay/account/authentication/index.vue'),
        name: 'payAccountAuthentication',
        meta: {
            title: '商家认证',
            loginAuth: true
        }
    },
    {
        path: '/pay/account/signature',
        component: () => import('@/views/pay/account/signature/index.vue'),
        name: 'payAccountSignature',
        meta: {
            title: '签署协议',
            loginAuth: true
        }
    },
    {
        path: '/pay/account/bind',
        component: () => import('@/views/pay/account/bind/index.vue'),
        name: 'payAccountBind',
        meta: {
            title: '对私卡绑定',
            loginAuth: true
        }
    }
];
